<?php
class AdminController extends CController
{
	//public $layout='//layouts/colunm1';
	public $menu=array();
	public $breadcrumbs=array();
	public function filters()
	{
		return array(
		'accessControl',
		);
	}
	public function accessRules()
	{
		return array(
		array('allow',
			'users'=>array('*'),
			'actions'=>array('login'),
		),
		array('allow',
			'users'=>array('@'),
		),
		array('deny',
			'users'=>array('*'),
		),
		);
	}
} 